package com.fit.americanChoppers.beans;

import com.fit.americanChoppers.interfaces.Product;
import com.fit.americanChoppers.interfaces.Purchase;
import com.fit.americanChoppers.interfaces.PurchaseItem;

public class PurchaseItemBean implements PurchaseItem {
    private String id;
    private double totalPrice;
    private int quantity;
    private boolean canceled;
    private Product product;
    private Purchase purchase;

    public String getId() {
            return this.id;
    }
    public void setId(String id) {
            this.id = id;
    }

    public double getTotalPrice() {
            return this.totalPrice;
    }
    public void setTotalPrice(double totalPrice) {
            this.totalPrice = totalPrice;
    }
    
    public int getQuantity() {
            return this.quantity;
    }
    public void setQuantity(int quantity) {
            this.quantity = quantity;
    }

    public boolean isCanceled() {
            return this.canceled;
    }
    public void setCanceled(boolean canceled) {
            this.canceled = canceled;
    }

    public Product getProduct() {
            return this.product;
    }
    public void setProduct(Product product) {
            this.product = product;
    }

    public Purchase getPurchase() {
            return this.purchase;
    }
    public void setPurchase(Purchase purchase) {
            this.purchase = purchase;
    }
}
